from django.conf.urls.static import static
from django.conf import settings
from django.urls import path, include

from web.apis.lostAndFound import lostAndFound

urlpatterns = [
    # 创建失物招领
    path('create_lost_and_found/', lostAndFound.create_lost_and_found),
    # 获取失物招领列表
    path('get_lost_and_found_list/', lostAndFound.get_lost_and_found_list),
    # 获取失物招领
    path('get_lost_and_found/<str:lost_and_found_id>/', lostAndFound.get_lost_and_found),
    # 更新失物招领
    path('update_lost_and_found/<str:lost_and_found_id>/', lostAndFound.update_lost_and_found),
    # 删除失物招领
    path('delete_lost_and_found/<str:lost_and_found_id>/', lostAndFound.delete_lost_and_found),
    # 搜索失物招领
    path('search_lost_and_found/', lostAndFound.search_lost_and_found),
    # 上传失物招领图片
    path('upload_lost_and_found_image/<str:lost_and_found_id>/', lostAndFound.upload_lost_and_found_image),
    # 删除失物招领图片
    path('delete_lost_and_found_image/<str:image_id>/', lostAndFound.delete_lost_and_found_image),
    
    
]